<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="wilmar" uri="/wilmar-process"%>
<html>
<head>
<wilmar:process.head datatable="true" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>authorization view</title>
<script type="text/javascript">
$(document)
.ready(
		function() {
			$('#authority-view')
					.dataTable(
							{
								"sPaginationType" : "full_numbers",
								"sDom" : '<"top"fi>rt<"bottom"lp<"clear">',
								"aaSorting": [[ 6, "desc" ]],
								"oLanguage" : {
									"sLengthMenu" : "<s:text name='datatable.text.lengthmenu' />",
									"sZeroRecords" : "<s:text name='datatable.text.zerorecords' />",
									"sInfo" : "<s:text name='datatable.text.info' />",
									"sInfoEmtpy" : "<s:text name='datatable.text.infoemtpy' />",
									"sInfoFiltered" : "<s:text name='datatable.text.infofiltered' />",
									"sSearch" : "<s:text name='datatable.text.search' />",
									"oPaginate" : {
										"sFirst" : "<s:text name='datatable.text.frist' />",
										"sPrevious" : "<s:text name='datatable.text.previous' />",
										"sNext" : "<s:text name='datatable.text.next' />",
										"sLast" : "<s:text name='datatable.text.last' />"
									}
								}
							});
		});
</script>
</head>
<body>
<center><wilmar:process.logo /></center>
<table id="authority-view" width="100%" cellpadding="0" cellspacing="0"
	border="0">
	<thead>
		<tr align="center">
			<th>ProcessDefinitionKey</th>
			<th>OuterSystem</th>
			<th>OrganizationName</th>
			<th>RoleName</th>
			<th>AuthorizeTypeName</th>
			<th>CreatePersion</th>
			<th>CreateTime</th>
		</tr>
	</thead>
	<tbody>
		<s:iterator value="%{processAuthorityVOList}"
			id="processAuthorityVOList" status="voList">
			<tr align="center">
				<td><s:property value="processDefinitionKey" /></td>
				<td><s:property value="outerSystem" /></td>
				<td><s:property value="organizationName" /></td>
				<td><s:property value="roleName" /></td>
				<td><s:property value="authorizeTypeName" /></td>
				<td><s:property value="createPersion" /></td>
				<td><s:property value="createTime" /></td>
			</tr>
		</s:iterator>
	</tbody>
	<tfoot>
		<tr>
			<td colspan="8" align="center"></td>
		</tr>
	</tfoot>
</table>

</body>
</html>